<%--
  Created by IntelliJ IDEA.
  User: Rainboz
  Date: 2019/10/26
  Time: 17:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>error</title>
</head>
<body>
<div style="text-align: center">
    <c:if test="${error_msg==88}">
        <%--88图片名已重复--%>
        <div class="alert alert-success alert-dismissable">
                <%--<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>--%>
            <h4>
                注意!
            </h4> <strong>Warning!</strong> 上传图片名已重复。 <a href="${APP_PATH}/upload" class="alert-link">返回重新上传</a>
        </div>
    </c:if>
    <c:if test="${error_msg==10}">
        <%--10图片扩展名不符合--%>
        <div class="alert alert-success alert-dismissable">
                <%--<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>--%>
            <h4>
                注意!
            </h4> <strong>Warning!</strong> 扩展名不符合图片。 <a href="${APP_PATH}/upload" class="alert-link">返回重新上传</a>
        </div>
    </c:if>
    <c:if test="${error_msg==20}">
        <%--10图片扩展名不符合--%>
        <div class="alert alert-success alert-dismissable">
                <%--<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>--%>
            <h4>
                注意!
            </h4> <strong>Warning!</strong> 未选择文件。 <a href="${APP_PATH}/upload" class="alert-link">返回重新上传</a>
        </div>
    </c:if>
</div>
</body>
</html>
